Skip to content

Makes the github PR workflow test against all OSes #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

PartiallyUntyped
Copy link
Contributor

Fixes: #153

Description of changes: makes the github PR workflow test against all OSes. Fixing integ tests is out of scope of this PR.
Drops 3.7 from all OSes except for AL1. AL1 will be removed completely in subsequent PR.

Target (OCI, Managed Runtime, both): N/A

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Mirrors the structure of the NodeJS ric with respect to github actions
to run integ tests against all vendors.

Issues with particular vendors won't be fixed in this PR to keep it
short.

Drops: python 3.7 in all but al1
Copy link
Contributor

@krk krk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, lgtm

Comment on lines +17 to +56

alpine:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run alpine integration tests
run: DISTRO=alpine make test-integ

amazonlinux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run amazonlinux integration tests
run: DISTRO=amazonlinux make test-integ

centos:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run centos integration tests
run: DISTRO=centos make test-integ

debian:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run debian integration tests
run: DISTRO=debian make test-integ

ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run ubuntu integration tests
run: DISTRO=ubuntu make test-integ
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was pulled directly from the nodejs ric.

@@ -21,7 +21,7 @@ test-smoke: setup-codebuild-agent

.PHONY: test-integ
test-integ: setup-codebuild-agent
CODEBUILD_IMAGE_TAG=codebuild-agent tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/.
CODEBUILD_IMAGE_TAG=codebuild-agent DISTRO="$(DISTRO)" tests/integration/codebuild-local/test_all.sh tests/integration/codebuild/.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled from nodejs ric, with some modification on the test path.

Comment on lines +57 to +58
echo $DISTRO $BUILDSPEC_YML_DIR
ls $BUILDSPEC_YML_DIR
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this isn't necessary, will remove later.

@PartiallyUntyped PartiallyUntyped merged commit 1d061f4 into main Jun 19, 2024
7 checks passed
@PartiallyUntyped PartiallyUntyped deleted the 153 branch June 19, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the PR workflow test on each OS vendor
3 participants